<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Talon extends CI_Controller {
	
	function __construct(){
		parent::__construct();
		$this->load->model('talons');
	}
	function index(){

	}	
	
	public function getNewSetOfShuffledCards(){
		echo json_encode($this->talons->getNewSetOfShuffledCards());	
	}
	
	function getTalonCardsByGameId(){
		echo json_encode($this->talons->get_TalonCardsByGameId());
	}
	
	function getAllTalonCardByGameId(){
		echo json_encode($this->talons->getAllTalonCardByGameId());
	}
}
?>